//
//  AppDelegate.h
//  iTunesTopSongs
//
//  Created by 云天 李 on 12-2-13.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "iTunesRSSImporter.h"

@class TopSongsViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate, iTunesRSSImporterDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, retain) IBOutlet TopSongsViewController *topSongsViewController;
@property (strong, nonatomic) UINavigationController *navigationController;

// RSS imporer 和后台处理队列2个属性
@property (nonatomic, retain) iTunesRSSImporter *importer;
@property (nonatomic, retain) NSOperationQueue *operationQueue;

// Core Data 堆栈属性
@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;
@property (readonly, strong, nonatomic) NSString *persistentStorePath;


@end
